import 'package:flutter/material.dart';

///有边框的容器
class BorderContainer extends Container {
  BorderContainer(Widget child,
      {super.key,
      double? width,
      double? height,
      Color borderColor = const Color(0xFF000000),
      double borderWidth = 1,
      super.alignment})
      : super(
            child: child,
            width: width,
            height: height,
            padding: const EdgeInsets.all(5),
            decoration: BoxDecoration(
                border: Border.all(color: borderColor,width: borderWidth),
                borderRadius: BorderRadius.circular(5)));
}
